<template>
  <section>
    <h2>params传参</h2>
    <p>name参数：{{$route.params.name}}</p>
    <p>age参数：{{$route.params.age}}</p>
  </section>
</template>

<script>
export default {};
</script>

<style scoped>
</style>